﻿namespace _9.建造者模式;

public class PersonDirector
{
    private PersonBuilder pb;
	public PersonDirector(PersonBuilder pb)
	{
		this.pb = pb;
	}

	public void CreatePerson()
	{
		pb.BuildHead();
		pb.BuildBody();
		pb.BuildArmLeft();
		pb.BuildArmRight();
		pb.BuildLegLeft();
		pb.BuildLegRight();
	}
}
